package dormouse.vfs.task;

import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class FileTaskManager {
	
	private ThreadPoolExecutor exec = new ThreadPoolExecutor(5, 10, 5, TimeUnit.MINUTES, new LinkedBlockingQueue());

	/**
	 * This method submits a file task to the task manager
	 * @param task
	 */
	public void submitFileTask(FileTask task){
		exec.submit(task);
	}
	
	public void addFileTaskListener(IFileTaskListener listener){
		
	}
	
	public void removeFileTaskListener(IFileTaskListener listener){
		
	}
	
}
